package com.solution.admin.promotion.entity;

import com.solution.common.entity.BaseEntity;

/**
 * 活动对象信息实体类
 * 
 * @author xu_cc
 * @date 2017-09-27 23:25:28
 */
public class PromotionTargetEntity extends BaseEntity {
    private static final long serialVersionUID = -3926291988306842687L;

    /* 对象类型名称 */
    private String targetTypeName;

    /**
     * 活动ID
     */
    private Long promotionId;

    /**
     * 客户自定义属性ID（如果是0，取客户级别）
     */
    private Long customerCustomId;

    /**
     * 客户属性字段名称
     */
    private String propertyName;

    /**
     * 客户属性字段值
     */
    private String propertyValue;

    /**
     * 活动ID
     */
    public Long getPromotionId() {
        return promotionId;
    }

    public void setPromotionId(Long promotionId) {
        this.promotionId = promotionId;
    }

    //
    // /**
    // * 对象类型（1=客户级别，2=客户类型）
    // */
    // public String getTargetType() {
    // return targetType;
    // }
    //
    // public void setTargetType(String targetType) {
    // this.targetType = targetType;
    // }

    /**
     * @return the propertyName
     */
    public String getPropertyName() {
        return propertyName;
    }

    /**
     * @return the customerCustomId
     */
    public Long getCustomerCustomId() {
        return customerCustomId;
    }

    /**
     * @param customerCustomId
     *            the customerCustomId to set
     */
    public void setCustomerCustomId(Long customerCustomId) {
        this.customerCustomId = customerCustomId;
    }

    /**
     * @param propertyName
     *            the propertyName to set
     */
    public void setPropertyName(String propertyName) {
        this.propertyName = propertyName;
    }

    /**
     * @return the propertyValue
     */
    public String getPropertyValue() {
        return propertyValue;
    }

    /**
     * @param propertyValue
     *            the propertyValue to set
     */
    public void setPropertyValue(String propertyValue) {
        this.propertyValue = propertyValue;
    }

    /**
     * @return the targetTypeName
     */
    public String getTargetTypeName() {
        return targetTypeName;
    }

    /**
     * @param targetTypeName
     *            the targetTypeName to set
     */
    public void setTargetTypeName(String targetTypeName) {
        this.targetTypeName = targetTypeName;
    }

}
